******************
******************

File Name: create_pre_linkage_data.sas
Description: The first of three programs that creates the analytic dataset that matching will be performed on.

File Name: partb_linkage_final_v12.sas
Description: The second of three programs that creates the analytic dataset that matching will be performed on. This program mainly links the inpatient files to the part B files.

File Name: simul_transfer_11_02_2018.sas
Description: The third of three programs that creates the analytic dataset that matching will be performed on. This program produces the final matching dataset.

File Name: patient_match_lv_0_year.R
Description: Performs the first match of the taper (the baseline match which only matches on year).

File Name: patient_match_lv_1_year_proc.R
Description: Performs the second match of the taper (the baseline plus procedure match).

File Name: patient_match_lv_2_year_proc_er.R
Description: Performs the third match of the taper (the year plus procedure plus emergent match).

File Name: bal_tabs_lv_0.R
Description: Creates the balance table for the year match.

File Name: bal_tabs_lv_1.R
Description: Creates the balance table for the year plus procedure match.

File Name: bal_tabs_lv_2.R
Description: Creates the balance table for the year plus procedure plus emergent match.

File Name: run_all_bal_tabs.R
Description: Program that sources all of the balance table programs and runs them in sequence.

File Name: taper_outcomes_1.2.2019_FIXED.R
Description: Calculates the outcomes (McNemar tests for the binary outcomes and M-estimates for the continuous outcomes).

File Name: exterior_match_paired.R
Description: Computes the exterior match across adjacent levels of the tapers.

File Name: YS_OR_figures_v1_FIXED_4.1.2019.R
Description: Generates figure 1 and figure 2 of the manuscript.


